package com.example.elderlycare.dao.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Tolerate;

@Data
@Builder
@TableName("train_users")
public class TrainEmployee {
    @MppMultiId
    @TableField("train_id")
    private Integer trainId;

    @MppMultiId
    @TableField("employee_id")
    private Integer employeeId;

    @Tolerate
    TrainEmployee() {
    }
}
